//公用的弹窗
import { ElMessage} from "element-plus";

const tips = class {
    constructor(message,type = "success")
    this.message = message
    this.type = type
}

mess-age(){
    ElMessage({
        message: 'Congrats,this is  a success message.',
        typr: 'success'
    })
}